package com.mshop.util;

public class QL {
	public static final class HQL {

		public static final class Users {
			public static final String FIND_BY_NAME = "from Users m WHERE m.name=?";
		}
		
		public static final class Drivers {

			public static final String LIST_BY_KEY = "from Drivers m where m.name=? or m.dirverNum=? or m.idNum=?";
			public static final String GET_COUNT_KEY = "SELECT COUNT(*) from Drivers m where m.name=? or m.dirverNum=? or m.idNum=?";
			
		}
		
	}

}